package com.huatai.bi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huatai.bi.entity.MqClientNumberEntity;
import com.huatai.bi.mapper.MqClientNumberMapper;
import com.huatai.bi.service.MqClientNumberService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: ganghua
 * @description: mqtt客户端连接api
 * @author: songxiude
 * @create: 2024-09-11 13:41
 **/
@Service
public class MqClientNumberServiceImpl extends ServiceImpl<MqClientNumberMapper, MqClientNumberEntity> implements MqClientNumberService {

	/**
	 * 获取在线实例数
	 * @param ips
	 * @return
	 */
	public String getMinClient(List<String> ips) {
		return baseMapper.getMinClient(ips);
	}
}
